<?php

class Admin_Form_GalleryItemPaste extends Zend_Form {
	public function init(){
		$translator = new Zend_Translate(
          'array',
          APPLICATION_PATH.'/../library/Nippy/languages/lang.ru.php',
          'ru',
          array('scan' => Zend_Translate::LOCALE_DIRECTORY)
        );
		Zend_Validate_Abstract::setDefaultTranslator($translator);
		
		/*$this->addElement('text', 'alt', array(
            'label'      => 'alt:',
        	'filters'    => array('StringTrim','StripTags'),
            'required'   => false
            )
        );*/
        
        /*$this->addElement('text', 'title', array(
            'label'      => 'title:',
        	'filters'    => array('StringTrim','StripTags'),
            'required'   => false
            )
        );*/
        
        $this->addElement('text', 'SrcId', array(
            'label'      => 'SrcId:',
        	'validators' => array('Int'),
            'required'   => true
            )
        );
        
        $this->addElement('text', 'SrcSizeId', array(
            'label'      => 'SrcSizeId:',
        	'validators' => array('Int'),
            'required'   => true
            )
        );
        
        $this->addElement('text', 'DstId', array(
            'label'      => 'DstId:',
        	'validators' => array('Int'),
            'required'   => true
            )
        );
        
        $this->addElement('text', 'DstSizeId', array(
            'label'      => 'DstSizeId:',
        	'validators' => array('Int'),
            'required'   => true
            )
        );
	}
}

?>